package com.mytx.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class CoinTransfer {
    private String id;

    private String uId;

    private String tId;

    private BigDecimal amount;

    private Integer status;

    private Integer type;

    private Date created;

    private User targetUser;

    public CoinTransfer(String id, String uId, String tId, BigDecimal amount, Integer status, Integer type, Date created) {
        this.id = id;
        this.uId = uId;
        this.tId = tId;
        this.amount = amount;
        this.status = status;
        this.type = type;
        this.created = created;
    }

    public CoinTransfer() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getuId() {
        return uId;
    }

    public void setuId(String uId) {
        this.uId = uId == null ? null : uId.trim();
    }

    public String gettId() {
        return tId;
    }

    public void settId(String tId) {
        this.tId = tId == null ? null : tId.trim();
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public User getTargetUser() {
        return targetUser;
    }

    public void setTargetUser(User targetUser) {
        this.targetUser = targetUser;
    }
}